package jxtend.processor.eclipse.visitor.interceptor;

import org.eclipse.jdt.internal.compiler.ast.ASTNode;
import org.eclipse.jdt.internal.compiler.lookup.Scope;

@SuppressWarnings("restriction")
public class ASTNodeVisitorInterceptorAdapter implements ASTNodeVisitorInterceptor {

	@Override
	public boolean interceptVisit(ASTNodeVisitorInterceptorContext interceptorChain, ASTNode node, Scope scope) {
		return interceptorChain.doVisit(node, scope);
	}
	
	@Override
	public void interceptEndVisit(ASTNodeVisitorInterceptorContext interceptorChain, ASTNode node, Scope scope) {
		interceptorChain.doEndVisit(node, scope);
	}
}
